﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000899 RID: 2201
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GMJMONHDFJI : IMessage<GMJMONHDFJI>, IMessage, IEquatable<GMJMONHDFJI>, IDeepCloneable<GMJMONHDFJI>, IBufferMessage
	{
		// Token: 0x17001BB2 RID: 7090
		// (get) Token: 0x06006257 RID: 25175 RVA: 0x0010522F File Offset: 0x0010342F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GMJMONHDFJI> Parser
		{
			get
			{
				return GMJMONHDFJI._parser;
			}
		}

		// Token: 0x17001BB3 RID: 7091
		// (get) Token: 0x06006258 RID: 25176 RVA: 0x00105236 File Offset: 0x00103436
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GMJMONHDFJIReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001BB4 RID: 7092
		// (get) Token: 0x06006259 RID: 25177 RVA: 0x00105248 File Offset: 0x00103448
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GMJMONHDFJI.Descriptor;
			}
		}

		// Token: 0x0600625A RID: 25178 RVA: 0x0010524F File Offset: 0x0010344F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GMJMONHDFJI()
		{
		}

		// Token: 0x0600625B RID: 25179 RVA: 0x00105258 File Offset: 0x00103458
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GMJMONHDFJI(GMJMONHDFJI other) : this()
		{
			this.hp_ = other.hp_;
			this.avatarId_ = other.avatarId_;
			this.fFOIKMKDBNF_ = ((other.fFOIKMKDBNF_ != null) ? other.fFOIKMKDBNF_.Clone() : null);
			this.jFEPGILBGFA_ = other.jFEPGILBGFA_;
			this.avatarType_ = other.avatarType_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600625C RID: 25180 RVA: 0x001052C8 File Offset: 0x001034C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GMJMONHDFJI Clone()
		{
			return new GMJMONHDFJI(this);
		}

		// Token: 0x17001BB5 RID: 7093
		// (get) Token: 0x0600625D RID: 25181 RVA: 0x001052D0 File Offset: 0x001034D0
		// (set) Token: 0x0600625E RID: 25182 RVA: 0x001052D8 File Offset: 0x001034D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Hp
		{
			get
			{
				return this.hp_;
			}
			set
			{
				this.hp_ = value;
			}
		}

		// Token: 0x17001BB6 RID: 7094
		// (get) Token: 0x0600625F RID: 25183 RVA: 0x001052E1 File Offset: 0x001034E1
		// (set) Token: 0x06006260 RID: 25184 RVA: 0x001052E9 File Offset: 0x001034E9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AvatarId
		{
			get
			{
				return this.avatarId_;
			}
			set
			{
				this.avatarId_ = value;
			}
		}

		// Token: 0x17001BB7 RID: 7095
		// (get) Token: 0x06006261 RID: 25185 RVA: 0x001052F2 File Offset: 0x001034F2
		// (set) Token: 0x06006262 RID: 25186 RVA: 0x001052FA File Offset: 0x001034FA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpBarInfo FFOIKMKDBNF
		{
			get
			{
				return this.fFOIKMKDBNF_;
			}
			set
			{
				this.fFOIKMKDBNF_ = value;
			}
		}

		// Token: 0x17001BB8 RID: 7096
		// (get) Token: 0x06006263 RID: 25187 RVA: 0x00105303 File Offset: 0x00103503
		// (set) Token: 0x06006264 RID: 25188 RVA: 0x0010530B File Offset: 0x0010350B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint JFEPGILBGFA
		{
			get
			{
				return this.jFEPGILBGFA_;
			}
			set
			{
				this.jFEPGILBGFA_ = value;
			}
		}

		// Token: 0x17001BB9 RID: 7097
		// (get) Token: 0x06006265 RID: 25189 RVA: 0x00105314 File Offset: 0x00103514
		// (set) Token: 0x06006266 RID: 25190 RVA: 0x0010531C File Offset: 0x0010351C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AvatarType
		{
			get
			{
				return this.avatarType_;
			}
			set
			{
				this.avatarType_ = value;
			}
		}

		// Token: 0x06006267 RID: 25191 RVA: 0x00105325 File Offset: 0x00103525
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GMJMONHDFJI);
		}

		// Token: 0x06006268 RID: 25192 RVA: 0x00105334 File Offset: 0x00103534
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GMJMONHDFJI other)
		{
			return other != null && (other == this || (this.Hp == other.Hp && this.AvatarId == other.AvatarId && object.Equals(this.FFOIKMKDBNF, other.FFOIKMKDBNF) && this.JFEPGILBGFA == other.JFEPGILBGFA && this.AvatarType == other.AvatarType && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006269 RID: 25193 RVA: 0x001053B4 File Offset: 0x001035B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Hp != 0U)
			{
				num ^= this.Hp.GetHashCode();
			}
			if (this.AvatarId != 0U)
			{
				num ^= this.AvatarId.GetHashCode();
			}
			if (this.fFOIKMKDBNF_ != null)
			{
				num ^= this.FFOIKMKDBNF.GetHashCode();
			}
			if (this.JFEPGILBGFA != 0U)
			{
				num ^= this.JFEPGILBGFA.GetHashCode();
			}
			if (this.AvatarType != 0U)
			{
				num ^= this.AvatarType.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600626A RID: 25194 RVA: 0x00105454 File Offset: 0x00103654
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600626B RID: 25195 RVA: 0x0010545C File Offset: 0x0010365C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600626C RID: 25196 RVA: 0x00105468 File Offset: 0x00103668
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.AvatarType != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.AvatarType);
			}
			if (this.fFOIKMKDBNF_ != null)
			{
				output.WriteRawTag(34);
				output.WriteMessage(this.FFOIKMKDBNF);
			}
			if (this.AvatarId != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.AvatarId);
			}
			if (this.JFEPGILBGFA != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.JFEPGILBGFA);
			}
			if (this.Hp != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Hp);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600626D RID: 25197 RVA: 0x00105518 File Offset: 0x00103718
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Hp != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Hp);
			}
			if (this.AvatarId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AvatarId);
			}
			if (this.fFOIKMKDBNF_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.FFOIKMKDBNF);
			}
			if (this.JFEPGILBGFA != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.JFEPGILBGFA);
			}
			if (this.AvatarType != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AvatarType);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600626E RID: 25198 RVA: 0x001055B8 File Offset: 0x001037B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GMJMONHDFJI other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Hp != 0U)
			{
				this.Hp = other.Hp;
			}
			if (other.AvatarId != 0U)
			{
				this.AvatarId = other.AvatarId;
			}
			if (other.fFOIKMKDBNF_ != null)
			{
				if (this.fFOIKMKDBNF_ == null)
				{
					this.FFOIKMKDBNF = new SpBarInfo();
				}
				this.FFOIKMKDBNF.MergeFrom(other.FFOIKMKDBNF);
			}
			if (other.JFEPGILBGFA != 0U)
			{
				this.JFEPGILBGFA = other.JFEPGILBGFA;
			}
			if (other.AvatarType != 0U)
			{
				this.AvatarType = other.AvatarType;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600626F RID: 25199 RVA: 0x0010565C File Offset: 0x0010385C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006270 RID: 25200 RVA: 0x00105668 File Offset: 0x00103868
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 34U)
				{
					if (num == 16U)
					{
						this.AvatarType = input.ReadUInt32();
						continue;
					}
					if (num == 34U)
					{
						if (this.fFOIKMKDBNF_ == null)
						{
							this.FFOIKMKDBNF = new SpBarInfo();
						}
						input.ReadMessage(this.FFOIKMKDBNF);
						continue;
					}
				}
				else
				{
					if (num == 40U)
					{
						this.AvatarId = input.ReadUInt32();
						continue;
					}
					if (num == 64U)
					{
						this.JFEPGILBGFA = input.ReadUInt32();
						continue;
					}
					if (num == 96U)
					{
						this.Hp = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x0400259D RID: 9629
		private static readonly MessageParser<GMJMONHDFJI> _parser = new MessageParser<GMJMONHDFJI>(() => new GMJMONHDFJI());

		// Token: 0x0400259E RID: 9630
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400259F RID: 9631
		public const int HpFieldNumber = 12;

		// Token: 0x040025A0 RID: 9632
		private uint hp_;

		// Token: 0x040025A1 RID: 9633
		public const int AvatarIdFieldNumber = 5;

		// Token: 0x040025A2 RID: 9634
		private uint avatarId_;

		// Token: 0x040025A3 RID: 9635
		public const int FFOIKMKDBNFFieldNumber = 4;

		// Token: 0x040025A4 RID: 9636
		private SpBarInfo fFOIKMKDBNF_;

		// Token: 0x040025A5 RID: 9637
		public const int JFEPGILBGFAFieldNumber = 8;

		// Token: 0x040025A6 RID: 9638
		private uint jFEPGILBGFA_;

		// Token: 0x040025A7 RID: 9639
		public const int AvatarTypeFieldNumber = 2;

		// Token: 0x040025A8 RID: 9640
		private uint avatarType_;
	}
}
